package com.xydtech.workflow.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 流程节点页面配置对象 wfl_steppage
 *
 * @author JHON
 * @date 2021-06-02
 */
@ApiModel(value = "流程节点页面配置对象")
public class WflSteppage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 流程版本号 */
    @ApiModelProperty(notes = "流程版本号")
    private Long versionId;

    /** 节点编号 */
    @ApiModelProperty(notes = "节点编号")
    private Long stepId;

    /** 序号 */
    @Excel(name = "序号")
    @ApiModelProperty(notes = "序号")
    private Long orderNum;

    /** 模板页面编号 */
    @Excel(name = "模板页面编号")
    @ApiModelProperty(notes = "模板页面编号")
    private Long pageId;

    /** 模板页面名称*/
    @ApiModelProperty(notes = "模板页面名称")
    private String pageName;

    /** 页面只读            0-否            1-是 */
    @Excel(name = "页面只读            0-否            1-是")
    @ApiModelProperty(notes = "页面只读            0-否            1-是")
    private String isOnlyRead;

    /** 页面校验            0-否            1-是 */
    @Excel(name = "页面校验            0-否            1-是")
    @ApiModelProperty(notes = "页面校验            0-否            1-是")
    private String isCheck;
    /** pc页面路径 */
    @Excel(name = "页面路径")
    @ApiModelProperty(notes = "页面路径")
    private String pcPageUrl;

    /** app页面路径 */
    @Excel(name = "app页面路径")
    @ApiModelProperty(notes = "app页面路径")
    private String appPageUrl;

    /** 页签编号*/
    @ApiModelProperty(notes = "页签编号")
    private String tabId;

    /** 页签链接*/
    @ApiModelProperty(notes = "页签链接")
    private String tabHref;

    /** 复制的版本号 */
    private Long copyVersionId;

    public Long getCopyVersionId() {
        return copyVersionId;
    }

    public void setCopyVersionId(Long copyVersionId) {
        this.copyVersionId = copyVersionId;
    }

    public void setVersionId(Long versionId) {
        this.versionId = versionId;
    }

    public Long getVersionId() {
        return versionId;
    }

    public void setStepId(Long stepId) {
        this.stepId = stepId;
    }

    public Long getStepId() {
        return stepId;
    }

    public void setOrderNum(Long orderNum) {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() {
        return orderNum;
    }

    public void setPageId(Long pageId) {
        this.pageId = pageId;
    }

    public Long getPageId() {
        return pageId;
    }

    public String getPageName() {
        return pageName;
    }

    public void setPageName(String pageName) {
        this.pageName = pageName;
    }

    public String getIsOnlyRead() {
        return isOnlyRead;
    }

    public void setIsOnlyRead(String isOnlyRead) {
        this.isOnlyRead = isOnlyRead;
    }

    public void setIsCheck(String isCheck) {
        this.isCheck = isCheck;
    }

    public String getIsCheck() {
        return isCheck;
    }

    public String getPcPageUrl() {
        return pcPageUrl;
    }

    public void setPcPageUrl(String pcPageUrl) {
        this.pcPageUrl = pcPageUrl;
    }

    public String getAppPageUrl() {
        return appPageUrl;
    }

    public void setAppPageUrl(String appPageUrl) {
        this.appPageUrl = appPageUrl;
    }

    public String getTabId() {
        return tabId;
    }

    public void setTabId(String tabId) {
        this.tabId = tabId;
    }

    public String getTabHref() {
        return tabHref;
    }

    public void setTabHref(String tabHref) {
        this.tabHref = tabHref;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("versionId", getVersionId())
                .append("stepId", getStepId())
                .append("orderNum", getOrderNum())
                .append("pageId", getPageId())
                .append("pageName", getPageName())
                .append("isOnlyRead", getIsOnlyRead())
                .append("isCheck", getIsCheck())
                .append("pcPageUrl", getPcPageUrl())
                .append("tabId", getTabId())
                .append("tabHref", getTabHref())
                .toString();
    }
}
